package com.example.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

@Configuration
@ComponentScan({"com.redis","com.sdk","com.security","com.freemarker"})
@MapperScan({"com.security.mapper","com.example.alipay.mapper","com.example.mapper"})
public class InitConfig {

    @Bean("map")
    public Map<String, String> damap(){
        return new HashMap<>();
    }
}
